package com.zzb.framework.modules.param.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zzb.framework.common.BaseEntity;


/**
* 系统配置表 实体类
*/
@TableName(value = "t_sys_param")
public class SysParam extends BaseEntity<String> {
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    @TableField(value = "param_key")
    private String paramKey; //配置名
    @TableField(value = "param_value")
    private String paramValue; //值
    @TableField(value = "remark")
    private String remark;  //备注
    @TableField(value = "overt")
    private Integer overt;  //是否公开 ， 1 公开，0 不公开

    /*----------------------get set 方法----------------------*/
    public String getId() {return id;}
    public void setId(String id) {this.id = id;}
    public String getParamKey() {return paramKey;}
    public void setParamKey(String paramKey){this.paramKey = paramKey == null ? null : paramKey.trim();}
    public String getParamValue() {return paramValue;}
    public void setParamValue(String paramValue){this.paramValue = paramValue == null ? null : paramValue.trim();}

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getOvert() {
        return overt;
    }

    public void setOvert(Integer overt) {
        this.overt = overt;
    }

    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "SysParam{" +
        "id='" + getId() + '\'' + ',' + 
        "paramKey='" + getParamKey() + '\'' + ',' +
        "paramValue='" + getParamValue() + '\'' + ',' +
        "remark='" + getRemark() + '\'' + ',' +
        "createTime='" + getCreateTime() + '\'' + ',' +
        "creator='" + getCreator() + '\'' + ',' + 
        "updateTime='" + getUpdateTime() + '\'' + ',' + 
        "updater='" + getUpdater() + '\'' + ',' + 
        "activate='" + getActivate() + '\'' + 
        '}';
    }
}
